package com.custom.titlebar.base;

/**
 * @author Ym
 * E-mail: 2435970206@qq.com
 * createTime:2024/5/2
 * explain: 动作枚举常量
 */
public  enum ClickedAction {
    ACTION_LEFT_TEXT(0x01), ACTION_LEFT_BUTTON(0x02),
    ACTION_RIGHT_TEXT(0x11), ACTION_RIGHT_BUTTON(0x12),
    ACTION_SEARCH(0x21), ACTION_SEARCH_SUBMIT(0x22),
    ACTION_SEARCH_VOICE(0x23), ACTION_SEARCH_DELETE(0x24),
    ACTION_CENTER_TEXT(0x31);

    private int code;

    ClickedAction(int code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "ClickedAction{" +
                "code=" + code +
                '}';
    }
}
